//
//  NSString+TimeAgo.h
//  WTM
//
//  Created by apple on 2017/4/14.
//  Copyright © 2017年 lxj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (TimeAgo)
+ (NSString *) compareCurrentTime:(NSString *)str;
+ (NSString *) compareCurrentTime2:(NSString *)str;
+ (NSString *)getTimeHHmm:(NSString *)str;
+(NSString *)stringFromTimeStamp:(NSString *)timeStamp;
+(NSString *)stringFromShortTimeStamp:(NSString *)timeStamp;
+ (NSString *)getTimeMM:(NSString *)str;
+ (NSString *)getTimedd:(NSString *)str;

+ (NSMutableAttributedString *)changeAttrString:(NSString *)string text:(NSString *)text color:(UIColor *)color;
+ (NSString *)timeStampFromString:(NSString *)string;

@end
